<template>
  <div class="top">
    <div class="tit"> 账户总览</div>
    <div class="content">
      <div style="display: flex; flex-direction: row;">
        <div class="package_icon"><span class="iconfont icon-qianbao qb"></span>
        </div>
        <div style="display: flex; flex-direction: column; justify-content: center;">
          <div style="display: flex; flex-direction: row; align-items: center;"><span
              class="blance-num">0.00 </span><img data-v-6e1aee10=""
                                                                     src=""
                                                                     style="width: 20px; height: 14px; cursor: pointer;">
          </div>
          <div style="font-weight: 400; font-size: 14px; margin-top: 10px;"> 账户余额 (USDT)</div>
        </div>
      </div>
      <div class="fl_row">
        <button type="button" class="el-button button el-button--primary"
          @click="jumpToRecharge"
        >
          <span> 充值 </span>
        </button>
        <button type="button" class="el-button button el-button--primary is-plain"
          @click="jumpToWithdraw"
        >
          <span> 提现 </span>
        </button>
      </div>
    </div>
  </div>
</template>
<script setup>
import { useRouter } from "vue-router";
const router = useRouter()
const jumpToRecharge = () => {
  router.push('/mine/money-package/recharge')
}
const jumpToWithdraw = () => {
  router.push('/mine/money-package/withdraw')
}
</script>
<style scoped>
.top{
  display: flex;
  flex-direction: column;
  width: 863px;
  height: 168px;
  border-bottom: 1px solid #eee;
  padding-top: 8px;
  padding-left: 34px
}

.top .tit{
  font-weight: 500;
  font-size: 14px
}

.top .content{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px
}

.top .content .button{
  width: 127px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center
}

.content .package_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  border: 1px solid var(--color-main);
  background: linear-gradient(0deg,#fff7ec,#fff7ec),#eee;
  margin-right: 17px
}
.qb{
  font-size: 32px;
  color: var(--color-main);
}
.blance-num{
  font-weight: 700;
  font-size: 24px;
  margin-right: 14px;
}
.fl_row{
  display: flex;
  flex-direction: row;
}

</style>